package com.hyxt.DTO;

import java.util.Arrays;
import java.util.List;

/**
 * @author songm
 * @version v1.0
 * @Description 平台的配置
 * @Date: Create in 14:44 2017/12/20
 * @Modifide By:
 **/
public class PlatConfig {

    //平台id
    private String platId;

    //主链路服务端口
    private Integer mainLinkPort;

    //从链路客户端ip
    private String slaveLinkIp;

    //从链路客户端口
    private Integer slaveLinkPort;

    //转发链路客户端ip
    private String transferLinkIp;

    //转发链路客户端口
    private Integer transferLinkPort;

    //运管ip
    private String transportMgtIp;

    //运管端口
    private Integer transportMgtPort;

    //白名单
    private String whiteList;

    //接入码
    private String acceptCode;

    //默认指令列表
    private List<String> commandList = Arrays.asList("" + 0x1403,"" + 0x1402,"" + 0x1201,
            "" + 0x1202,"" + 0x1203,"" + 0x1207,"" + 0x1208,"" + 0x1209,"" + 0x120C,"" + 0x120D);

    public List<String> getCommandList() {
        return commandList;
    }

    public void setCommandList(List<String> commandList) {
        this.commandList = commandList;
    }

    public String getPlatId() {
        return platId;
    }

    public void setPlatId(String platId) {
        this.platId = platId;
    }

    public Integer getMainLinkPort() {
        return mainLinkPort;
    }

    public void setMainLinkPort(Integer mainLinkPort) {
        this.mainLinkPort = mainLinkPort;
    }

    public String getSlaveLinkIp() {
        return slaveLinkIp;
    }

    public void setSlaveLinkIp(String slaveLinkIp) {
        this.slaveLinkIp = slaveLinkIp;
    }

    public Integer getSlaveLinkPort() {
        return slaveLinkPort;
    }

    public void setSlaveLinkPort(Integer slaveLinkPort) {
        this.slaveLinkPort = slaveLinkPort;
    }

    public String getTransferLinkIp() {
        return transferLinkIp;
    }

    public void setTransferLinkIp(String transferLinkIp) {
        this.transferLinkIp = transferLinkIp;
    }

    public Integer getTransferLinkPort() {
        return transferLinkPort;
    }

    public void setTransferLinkPort(Integer transferLinkPort) {
        this.transferLinkPort = transferLinkPort;
    }

    public String getTransportMgtIp() {
        return transportMgtIp;
    }

    public void setTransportMgtIp(String transportMgtIp) {
        this.transportMgtIp = transportMgtIp;
    }

    public Integer getTransportMgtPort() {
        return transportMgtPort;
    }

    public void setTransportMgtPort(Integer transportMgtPort) {
        this.transportMgtPort = transportMgtPort;
    }

    public String getWhiteList() {
        return whiteList;
    }

    public void setWhiteList(String whiteList) {
        this.whiteList = whiteList;
    }

    public String getAcceptCode() {
        return acceptCode;
    }

    public void setAcceptCode(String acceptCode) {
        this.acceptCode = acceptCode;
    }
}
